import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'amfe-flexible/index.js'
import axios from 'axios'
import { Icon, Divider, PullRefresh, Toast, List, Button, Empty, Loading, NavBar, Form, Field, Popup, Picker, Tabbar ,TabbarItem } from 'vant'
import common from '@/assets/js/common'
import https from './api/https'

Vue.config.productionTip = false


Vue.prototype.$axios = axios
Vue.prototype.$https = https
Vue.prototype.$common = common

Vue.use(Button)
Vue.use(Icon)
Vue.use(Toast)
Vue.use(Loading)
Vue.use(Form)
Vue.use(Field)
Vue.use(Popup)
Vue.use(Picker)
Vue.use(Tabbar)
Vue.use(TabbarItem)
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
